@charset "UTF-8";

.contain .return-menu {
  user-select: none;
}

.contain .return-menu ul li {
  width: 100%;
  height: 24px;
  line-height: 24px;
  padding: 2px 0;
  margin: 5px 0;
  cursor: pointer;
  text-align: center;
  font-size: 1.1em;
}

.contain .return-menu ul li:hover {
  background-color: #aaa;
  color: #fff;
}

.contain .return-menu ul .select {
  background-color: #555;
  color: #f7f7f7;
}

.contain .return-menu ul li:first-child {
  margin-top: 0;
}

.contain .return-menu ul li:last-child {
  margin-bottom: 0;
}

.contain .return-contain .model .title {
  width: 100%;
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.contain .hide {
  display: none;
}

.contain .show {
  display: block;
}

.contain .right-contain .model .show-body .table-show {
  margin-bottom: 10px;
}

.contain .right-contain .model .show-body .buttons {
  text-align: right;
}

.contain .right-contain .model .show-body .buttons button {
  display: inline-block;
}

.contain .right-contain .model .show-body .buttons button:last-child {
  margin-right: 20px;
}

.contain .form-box {
  position: absolute;
  top: 100px;
  box-shadow: 0 0 5px #aaa;
  padding: 10px 20px;
}

.contain .company,
.contain .storage,
.contain .customer,
.contain .supplier {
  width: 165px;
  left: calc(50% - 82px);
}

.contain .product {
  width: 400px;
  left: calc(50% - 200px);
}

/* animation */
.contain .company-slide-down {
  animation: 1s COMPANY_SLIDE_DOWN ease-out;
}

.contain .product-slide-down {
  animation: 1s PRODUCT_SLIDE_DOWN ease-out;
}

.contain .storage-slide-down {
  animation: 1s STORAGE_SLIDE_DOWN ease-out;
}

.contain .customer-slide-down {
  animation: 1s CUSTOMER_SLIDE_DOWN ease-out;
}

.contain .supplier-slide-down {
  animation: 1s SUPPLIER_SLIDE_DOWN ease-out;
}

@keyframes COMPANY_SLIDE_DOWN {
  from {
    top: -400px;
    opacity: 0;
  }
  to {
    top: 100px;
    opacity: 1;
  }
}

@keyframes PRODUCT_SLIDE_DOWN {
  from {
    top: -500px;
    opacity: 0;
  }

  to {
    top: 100px;
    opacity: 1;
  }
}

@keyframes STORAGE_SLIDE_DOWN {
  from {
    top: -200px;
    opacity: 0;
  }
  to {
    top: 100px;
    opacity: 1;
  }
}

@keyframes CUSTOMER_SLIDE_DOWN {
  from {
    top: -350px;
    opacity: 0;
  }
  to {
    top: 100px;
    opacity: 1;
  }
}

@keyframes SUPPLIER_SLIDE_DOWN {
  from {
    top: -200px;
    opacity: 0;
  }
  to {
    top: 100px;
    opacity: 1;
  }
}
